package com.superb.common.feign.annotation;

import com.superb.common.feign.config.SuperbFeignConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * @author sking
 * @version 1.0.0.0
 * @Title feign自定义默认注解
 * @date 2021/8/26 15:05
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
public @interface SuperbEnableFeignClients {
    String[] value() default {};

    String[] basePackages() default {"com.superb"};

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {SuperbFeignConfiguration.class};

    Class<?>[] clients() default {};
}
